home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’97
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Resources
/
ResourceID.h
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1997-06-28
|
277 b
|
22 lines
|
[
TEXT/CWIE
]
// ResourceID.h
#ifndef ResourceID_h
#define ResourceID_h
#ifndef Integers_h
#include "Integers.h"
#endif
class ResourceID
{
private:
int16 id;
public:
ResourceID( int16 theID ) :id( theID ) {} // explicit?
operator int16() const { return id; }
};
#endif